import arcpy, string, os
from arcpy import env
env.workspace=r"D:\NFTA\OutsideCustomerFinder_Python\src\dbf"
#outpath=r"D:\NFTA\OutsideCustomerFinder_Python\src\dbf"
files=arcpy.ListFiles("*.dbf")
path=r"D:\NFTA\OutsideCustomerFinder_Python\src\result2\dropoff"

for file in files:
    name=string.replace(file, ".dbf", "_d")
    print "creating: " + path + name
    arcpy.CreateFolder_management(path,name)
